package com.zzy.edu.mapper;

import com.zzy.edu.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzy.edu.entity.vo.front.CourseWebVo;
import com.zzy.edu.entity.vo.publish.CoursePublishVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author KAZU
 * @since 2023-01-13
 */
@SuppressWarnings("all")
@Mapper
public interface EduCourseMapper extends BaseMapper<EduCourse> {
	
	/**
	 * 根据课程id查询课程确认信息
	 * */
	public CoursePublishVo getPublishCourseInfo(String couseId);
	
	/**
	 * 课程详情方法
	 * */
	public CourseWebVo getBaseCourseInfo(String id);
}
